<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Bootstrap, from Twitter</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="css/bootstrap.css" rel="stylesheet">
    <style>
    body {
        padding-top: 60px;
        /* 60px to make the container go all the way to the bottom of the topbar */
    }
    </style>
    <link href="css/bootstrap-responsive.css" rel="stylesheet">
    <link href="css/styles.css" rel="stylesheet">
</head>

<body>

    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="brand" href="#">Project name</a>
                <div class="nav-collapse collapse">
                    <ul class="nav">
                        <li class="active"><a href="#">Home</a>
                        </li>
                        <li><a href="#about">About</a>
                        </li>
                        <li><a href="#contact">Contact</a>
                        </li>
                    </ul>
                </div>
                <!--/.nav-collapse -->
            </div>
        </div>
    </div>

    <div class="container-fluid">

        <div class="panel">
            <div class="panel-header">
                <h3>选择生成方式</h3>
            </div>
            <div class="panel-body">
                <div class="row-fluid">
                    <a href='selectTable.html?origin=DB' class="box shadow lazy">
                      从数据库生成
                    </a>
                    <a href='#sqlEditModal' data-toggle="modal" class="box shadow lazy">
                      从SQL语句生成
                    </a>
                </div>
            </div>
        </div>

    </div>
    <!-- /container -->
    <div class="navbar navbar-fixed-bottom">
        <div class="navbar-inner">
            <div class="container">
                <a id="pre" href="first.html" class="btn btn-warning">上一步</a>
                <a id="next" href="selectColumn.html" class="btn btn-primary pull-right hide">下一步</a>
            </div>
        </div>
    </div>
    <!-- Modal -->
    <div id="sqlEditModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="myModalLabel">输入SQL语句</h3>
        </div>
        <div class="modal-body">
            <form>
              <textarea id="sqlEditor" rows="10" class="input-block-level"></textarea>
            </form>
        </div>
        <div class="modal-footer">
            <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
            <button id="sqlOK" class="btn btn-primary">确定</button>
        </div>
    </div>

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="jquery-1.8.3.js"></script>
    <script src="js/bootstrap.js"></script>
    <script src="js/selectOrigin.js"></script>
</body>

</html>
